From accb3c0635f329ae91e1b0e5e01f892756f63f88 Mon Sep 17 00:00:00 2001 From: "smh22@tempest.cl.cam.ac.uk" Date: Fri, 12 Nov 2004 14:33:59 +0000 Subject: [PATCH] bitkeeper revision 1.1159.170.9 (4194c9d7SVnKydQXKdEqJVKG3_Tx9g) build under 2.4 again --- linux-2.6.9-xen-sparse/drivers/xen/blkfront/blkfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6.9-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6.9-xen-sparse/drivers/xen/blkfront/blkfront.c index f09019436f..3384099641 100644 --- a/linux-2.6.9-xen-sparse/drivers/xen/blkfront/blkfront.c +++ b/linux-2.6.9-xen-sparse/drivers/xen/blkfront/blkfront.c @@ -136,6 +136,7 @@ static inline void ADD_ID_TO_FREELIST( unsigned long id ) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) #define DISABLE_SCATTERGATHER() #else +static int sg_operation = -1; #define DISABLE_SCATTERGATHER() (sg_operation = -1) #endif @@ -497,7 +498,6 @@ static irqreturn_t blkif_int(int irq, void *dev_id, struct pt_regs *ptregs) /************************** KERNEL VERSION 2.4 **************************/ static kdev_t sg_dev; -static int sg_operation = -1; static unsigned long sg_next_sect; /* -- 2.30.2